package org.jeecg.modules.weather.service.impl;

import org.jeecg.modules.weather.entity.Weather;
import org.jeecg.modules.weather.mapper.WeatherMapper;
import org.jeecg.modules.weather.service.IWeatherService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

/**
 * @Description: 天气
 * @Author: jeecg-boot
 * @Date:   2019-11-06
 * @Version: V1.0
 */
@Service
public class WeatherServiceImpl extends ServiceImpl<WeatherMapper, Weather> implements IWeatherService {

    @Autowired
    private WeatherMapper weatherMapper;

    public Weather getWeather(){
        return weatherMapper.getWeather();
    }
}
